package xing.service;

import xing.spring.farmework.annotation.Autowired;
import xing.spring.farmework.annotation.Component;
import xing.spring.farmework.annotation.Lazy;

@Component(beanName = "userServiceImpl")
public class UserServiceImpl {

    @Autowired(require = false)
    private MenuServiceImpl menuServiceImpl;

    public void test(){
        System.out.println(menuServiceImpl);
    }

    public MenuServiceImpl getMenuServiceImpl() {
        return menuServiceImpl;
    }

    public void setMenuServiceImpl(MenuServiceImpl menuServiceImpl) {
        this.menuServiceImpl = menuServiceImpl;
    }
}
